package com.autumn.sms.service.entities;

import java.util.ArrayList;
import java.util.List;

import com.autumn.domain.entities.auditing.AbstractDefaultFullGmtEntity;

/**
 * 模板抽象
 * 
 * @author 老码农
 *
 *         2018-01-12 10:18:11
 */
public abstract class AbstractSmsTemplate<TParam extends AbstractSmsTemplateParameter>
		extends AbstractDefaultFullGmtEntity implements IStatusEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5987593254526325345L;

	private String code;
	private String name;
	private Integer status;
	private String remark;

	private List<TParam> parameters;

	public AbstractSmsTemplate() {
		this.parameters = new ArrayList<>();
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public Integer getStatus() {
		return status;
	}

	@Override
	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public List<TParam> getParameters() {
		return parameters;
	}

	public void setParameters(List<TParam> parameters) {
		this.parameters = parameters;
	}

}
